package com.kaifamiao.dao;

import com.kaifamiao.model.UserInfoModel;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IUserInfoDao {

    @Select("select * from userinfo")
    List<UserInfoModel> findAll();

    @Select("select * from userinfo where id = #{id}")
    UserInfoModel selectOneById(int id);
}
